<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单一</title>
</head>
<body>
<form action="f1.php" method="get">
    <label>姓名：<input maxlength="10" name="name" type="text"></label><br>
    <label>密码：<input name="password" type="password"></label><br>
    <fieldset>
        <legend>性别</legend>
        <label><input name="gender" type="radio" value="男">男</label>
        <label><input name="gender" type="radio" value="女">女</label>
        <label><input checked name="gender" type="radio" value="保密">保密</label>
    </fieldset>

    <fieldset>
        <legend>爱好</legend>
        <label><input name="love[]" type="checkbox" value="游戏">游戏</label>
        <label><input name="love[]" type="checkbox" value="音乐">音乐</label>
    </fieldset>


    <label>年龄：<input max="50" min="10" name="age" type="number" value="18"></label><br>
    <label>地址：<input maxlength="30" name="address" size="50" type="text"></label><br>
    <input type="submit" value="提交">
</form>
</body>
</html>